Install AosCore SDK
Once you've downloaded the appropriate SDK toolchain, the next step is to install it and initialize your build environment.
Follow the instructions below based on your target platform.
VirtualBox environment
Make installer executable
export AOS_RELEASE_VERSION=5.2.0
chmod +x aos-core-x86_64-toolchain-genericx86-64-${AOS_RELEASE_VERSION}.sh
Run installer
./aos-core-x86_64-toolchain-genericx86-64-${AOS_RELEASE_VERSION}.sh
Raspberry Pi environment
Make installer executable
export AOS_RELEASE_VERSION=1.0.6
chmod +x aos-core-x86_64-toolchain-raspberrypi5-${AOS_RELEASE_VERSION}.sh
Run installer
./aos-core-x86_64-toolchain-raspberrypi5-${AOS_RELEASE_VERSION}.sh
Initialize SDK environment
Before starting any builds, you need to source the environment setup script.
This configures paths, compilers, and other required variables for the SDK to work correctly.
VirtualBox
. /opt/aos-core-sdk/genericx86-64/${AOS_RELEASE_VERSION}/environment-setup-core2-64-aosvm-linux
Raspberry Pi
. /opt/aos-core-sdk/raspberrypi5/${AOS_RELEASE_VERSION}/environment-setup-cortexa76-aos-linux
After initialization, your terminal session will be ready to build and run applications in the Aos environment.
Need more help? Visit the Developer Guide or reach out via official support channels.